package com.eairlv.route.server.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author lv
 * @create 2018-07-23 11:30
 * @desc
 **/
@Data
public class PageBO {

    @Min(1)
    @ApiModelProperty("当前页索引，默认：1")
    private Integer pageIndex = 1;

    @Min(10)
    @ApiModelProperty("当前页大小，默认：10")
    private Integer pageSize = 10;
}
